<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Return the number of rows that were affected by the previous query</title>
 </head>
 <body class="docs"><div id="layout">
  <div id="layout-content"><div id="function.ibase-affected-rows" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ibase_affected_rows</h1>
  <p class="verinfo">(PHP 5, PHP 7)</p><p class="refpurpose"><span class="refname">ibase_affected_rows</span> &mdash; <span class="dc-title">Return the number of rows that were affected by the previous query</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-function.ibase-affected-rows-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>ibase_affected_rows</strong></span>
    ([ <span class="methodparam"><span class="type">resource</span> <code class="parameter">$link_identifier</code></span>
  ] ) : <span class="type">int</span></div>

  <p class="para rdfs-comment">
   This function returns the number of rows that were affected by the
   previous query (INSERT, UPDATE or DELETE) that was executed from within
   the specified transaction context.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.ibase-affected-rows-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<code class="parameter">link_identifier</code></dt>

     <dd>

      <p class="para">
       A transaction context. If <code class="parameter">link_identifier</code> is a
       connection resource, its default transaction is used.
      </p>
     </dd>

    
   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.ibase-affected-rows-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns the number of rows as an integer.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.ibase-affected-rows-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="ibase_query.html" class="function" rel="rdfs-seeAlso">ibase_query()</a> - Execute a query on an InterBase database</span></li>
    <li class="member"><span class="function"><a href="ibase_execute.html" class="function" rel="rdfs-seeAlso">ibase_execute()</a> - Execute a previously prepared query</span></li>
   </ul>
  </p>
 </div>


</div></div></div></body></html>